﻿using Estsh.Core.Base;
using Estsh.Core.Models;
using Estsh.Core.Repositories;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Estsh.Core.Wms.IRepositories
{
    public interface IMaterialRepository : IBaseRepository<BaseEntity>
    {

        public List<SysStock> GetMaterialInfo(string cartonNo);

        public int ScanCode(string cartonNo);

        public List<SysStock> SpellCode(string cartonNo);

        public List<SysStock> TailBox(string cartonNo);

        public List<SysStock> CheckMaterialSplit(List<SysStock> cartonNo, int splitNum, string loginId, int splitCount);

        public List<SysStock> CheckMaterialConsolidation(List<SysStock> hostList, List<SysStock> SecondaryList, string loginId);
    }
}
